home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programmer Power Tools
/
Programmer Power Tools.iso
/
progjrn
/
pj_6_4.arc
/
DC
< prev
next >
Wrap
Text File
|
1988-04-24
|
893b
|
40 lines
## DC - Windows Digital Clock
# Created by Michael Babcock and Bill Hall
#
## some macros
# no debug compile
cp=cl -d -c -AS -Gw -Ox -Zp
# debug compile
cpd=cl -d -c -AS -Gw -Zpd
# Microsoft C 5.x compiler with OS2 libraries
LIBOS2=slibw slibc slibc3 libh/NOD/NOE
# Microsoft C 5.x compiler with PM libraries
LIBPM=slibw slibcr libh/NOD/NOE
# Microsoft C 5.0 compiler for MS-DOS
LIB5=slibw slibc libh/NOD/NOE
# Microsoft C 4.0 compiler for MS-DOS
LIB4=slibw slibc libh/NOD
## make the .RES file
dc.res : dc.rc dc.h
rc -r dc.rc
## make the .OBJ files
dc.obj : dc.c dc.h
$(cp) -NT _TEXT dc.c
dcinit.obj : dcinit.c dc.h
$(cp) -NT _INIT dcinit.c
## create the .EXE file, add resources, and make a map file
dc.exe : dc dc.def dc.res dc.obj dcinit.obj
link4 dc dcinit,dc/align:16,dc/m/li,$(LIBPM),dc
rc dc.res
mapsym dc